package com.qiangesoft.blog.system.authentication;

import com.qiangesoft.blog.system.pojo.dto.LoginDTO;

import java.io.IOException;
import java.util.Map;

/**
 * 登录服务
 *
 * @author qiange
 * @date 2023-06-01
 */
public interface LoginService {

    Map<String, String> getCode() throws IOException;

    String login(LoginDTO vo);
}
